package com.ailesson.user.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户表
 * 
 * @author mac
 * @email mac@gmail.com
 * @date 2024-09-28 20:21:48
 */
@Schema(name = "用户表返回值")
@Data
public class UserInfoDto implements Serializable{
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@Schema(name = "id", description = "编号", type = "Long")
    private Long id;
	/**
	 * 手机号
	 */
	@Schema(name = "phone", description = "手机号", type = "String")
    private String phone;
	/**
	 * 用户姓名
	 */
	@Schema(name = "name", description = "用户姓名", type = "String")
    private String name;
	/**
	 * 昵称
	 */
	@Schema(name = "nickName", description = "昵称", type = "String")
    private String nickName;
	/**
	 * 性别
	 */
	@Schema(name = "sex", description = "性别", type = "Integer")
    private Integer sex;
	/**
	 * 头像
	 */
	@Schema(name = "avatar", description = "头像", type = "String")
    private String avatar;
	/**
	 * 
	 */
	@Schema(name = "province", description = "", type = "String")
    private String province;
	/**
	 * 0：未订阅 1：已订阅
	 */
	@Schema(name = "subscribe", description = "0：未订阅 1：已订阅", type = "Integer")
    private Integer subscribe;
	/**
	 * 小程序open id
	 */
	@Schema(name = "openId", description = "小程序open id", type = "String")
    private String openId;
	/**
	 * 微信开放平台unionID
	 */
	@Schema(name = "unionId", description = "微信开放平台unionID", type = "String")
    private String unionId;
	/**
	 * 推荐人用户id
	 */
	@Schema(name = "recommendId", description = "推荐人用户id", type = "Long")
    private Long recommendId;
}
